package com.db.httpserver;


import java.util.Scanner;

public class NetClientSocketReader implements Runnable {
	private Scanner in;
	private String answer;

	public NetClientSocketReader(Scanner in) {
		this.in = in;
	}

	@Override
	public void run() {
		while (in.hasNextLine()) {
			answer = in.nextLine();
			System.out.println("server>" + answer);
		}
	}

}